import static org.junit.Assert.*;

import org.junit.Test;


public class UITest {
	
	UI ui = new UI();
	@Test
	public void testGetUserInput() {
		
		ui.setCommandLine("add Meeting; today; now");
		assertEquals(ui.getUserInput(), "");
	}
	
	public void testSetCommandLine() {
		
		ui.setCommandLine("add Meeting; today; now");
		assertEquals(ui.getCommandLine(), "add Meeting; feb 29 2000; now");
		ui.setCommandLine("add Discussion with groupmates; today; 9 pm");
		assertEquals(ui.getCommandLine(), "add Meeting; 1 jan 1900; now");
		ui.setCommandLine("add Meeting; today; now");
		assertEquals(ui.getCommandLine(), "add Dinner with date; today; 10 am");
		ui.setCommandLine("add Meeting; today; now");
		assertEquals(ui.getCommandLine(), "add Movie time; 7 oct; now");
		ui.setCommandLine("add Meeting; today; now");
		assertEquals(ui.getCommandLine(), "add K9Orchards supper; sep 5; 1200");
	}
	
	
	/*
	@Test
	public void testSetLogo() {
		fail("Not yet implemented");
	}

	@Test
	public void testLaunchHelp() {
		fail("Not yet implemented");
	}

	@Test
	public void testAutoFillKeyword() {
		fail("Not yet implemented");
	}

	@Test
	public void testDisplayCalList() {
		fail("Not yet implemented");
	}

	@Test
	public void testDisplayPrioList() {
		fail("Not yet implemented");
	}

	@Test
	public void testDisplayLog() {
		fail("Not yet implemented");
	}
	*/
}
